home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Technical Documentation / Sample Code / DTS.Lib & Samples / DTS.Lib / DTS.Lib.headers / CtlHandler.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-10-22  |  637 b   |  28 lines  |  [TEXT/MPS ]

  1. #ifndef __CTLHANDLER__
  2. #define __CTLHANDLER__
  3.  
  4. #ifndef __TYPES__
  5. #include <Types.h>
  6. #endif
  7.  
  8. #ifndef __EVENTS__
  9. #include <Events.h>
  10. #endif
  11.  
  12. #ifndef __WINDOWS__
  13. #include <Windows.h>
  14. #endif
  15.  
  16. #define kScrollEvent    -1
  17.  
  18. short    CNum2Ctl(WindowPtr window, short ctlNum, ControlHandle *ctl);
  19. short    Ctl2CNum(ControlHandle ctl);
  20. void    DoCtlActivate(WindowPtr window);
  21. short    GetButtonVariant(ControlHandle ctl);
  22. void    GetCheckBoxValues(WindowPtr window, Boolean checkBoxVal[]);
  23. short    GetRadioButtonChoice(WindowPtr window, short famNum);
  24. short    IsCtlEvent(WindowPtr window, EventRecord *event, ControlHandle *ctl, short *action);
  25.  
  26. #endif __CTLHANDLER__
  27.  
  28.